<!--@author vidy3587@gmail.com-->
<template>
  <div class="detail with-banner-padding no-after">
    <div class="vote-bg vote-detail-content">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "WithBanner",
  props: {
    hasLine: {
      type: Boolean,
      default: true,
    }
  }
}
</script>

<style scoped lang="scss">

.vote-bg {
  position: relative;
  background: url("~@/assets/vote-bg.png") no-repeat px2rem(-(750px - 690px)) top;
  //background-position: ;
  background-size: px2rem(966px) px2rem(2312px);
  .has-line {
    background: url("~@/assets/vote-bg.png") no-repeat px2rem(-(750px - 690px)) top;
  }
}
.vote-bg {

}
.vote-detail-content {
  //min-height: 2312px;
}
</style>